import service from "@/utils/request";


export const getLogin = ({username, password})=>{
    console.log({username, password},'aa');
    
    return service.post('/admin/acl/index/login',{username, password})
}

export const getUserInfo = () => {
    return service.get('/admin/acl/index/info')
}

// /admin/acl/index/logout
export const postlogout = () => {
    return service.post('/admin/acl/index/logout')
}